package com.example.testgit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.testgit.entity.StudentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<StudentDO> {
    List<StudentDO> search(String stuName, Integer stuId, String major, String classNum);

    /**
     * 批量插入数据
     * @return 插入条数
     */
    int insertBatch(List<StudentDO> list);
}
